package com.cyk.feign;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClientConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "blog-server", configuration = LoadBalancerClientConfiguration.class)
public interface BlogClient {

    @GetMapping("/test/port")
    Integer port();

}
